<html>
<head><meta charset="utf-8"><title>Compiling just stage1 rustc+std · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Compiling.20just.20stage1.20rustc.2Bstd.html">Compiling just stage1 rustc+std</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="244095176"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Compiling%20just%20stage1%20rustc%2Bstd/near/244095176" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Compiling.20just.20stage1.20rustc.2Bstd.html#244095176">(Jun 28 2021 at 01:47)</a>:</h4>
<p>What's the <code>x.py</code> incantation needed to build just the stage1 rustc and stdlib, not rustdoc, and nothing from stage2?</p>



<a name="244096594"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Compiling%20just%20stage1%20rustc%2Bstd/near/244096594" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Compiling.20just.20stage1.20rustc.2Bstd.html#244096594">(Jun 28 2021 at 02:29)</a>:</h4>
<p>I'm pretty sure <code>./x.py build library/std</code> does that (at least, that's what I usually use).</p>



<a name="244099628"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Compiling%20just%20stage1%20rustc%2Bstd/near/244099628" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Compiling.20just.20stage1.20rustc.2Bstd.html#244099628">(Jun 28 2021 at 03:56)</a>:</h4>
<p>You might need --stage 1 depending on the profile you're using</p>



<a name="244117317"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Compiling%20just%20stage1%20rustc%2Bstd/near/244117317" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Compiling.20just.20stage1.20rustc.2Bstd.html#244117317">(Jun 28 2021 at 08:53)</a>:</h4>
<p>Aah, right, thanks!</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>